<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>下载</title>
		<load href="__JS__/menu.js" />
		<load href="__JS__/leftmenubar.js" />
		<load href="__CSS__/header.css" />
		<load href= "__JS__/jshelper.js" /> 
<script type="text/JavaScript">
				function pathedit(id){
					window.location.href="__URL__/pathedit/id/"+id;
				}
				function pathsearch(id){
					window.location.href="__URL__/pathdetail/id/"+id;
				}
				function pathdelete(id,classid,pname){
					if (confirm("你确定要删除吗")==true)
						postwith('__URL__/pathdelete',{id:id,classid:classid,pname:pname});
				}
				function filedownload(id,classid,pname){
						postwith('__URL__/filedownload',{id:id,classid:classid,pname:pname});
				}
					window.onload=show;
</script>
</head>
<body>
	 <layout name="Auth:header" />
	 <div class="nowposition">
		当前位置：
		<a href='__APP__/index/index' class="nowpositionhref">主页</a>>
		<a href='__URL__/index' class="nowpositionhref">后台管理</a>>
		<a href='__URL__/classdetail' class="nowpositionhref">教学班管理</a>>
		<a href=""  class="nowpositionhref">学生管理</a>
	</div> 
	<layout name="Auth:leftmenu" />
	<div id="path_Show" >
				<div style="padding-left:150px;">
					<a href='__URL__/savepath/id/{$id}' class="classfilehref">设置上传文件夹</a>|
					<a href='__URL__/addstudent/id/{$id}' class="classfilehref" style="color:grey">添加学生</a>|
					<a href='__URL__/deletestudent/id/{$id}' class="classfilehref" style="color:red">删除学生</a>
				</div>
					<table width="100%" border="0" align="center" cellpadding="0px" cellspacing="0px">
						<thead  style=" font-weight:bold; font-size:12px; background-color:f0f0f0;">
							<tr id="table_path_show_title" height="35px">
								
								<td style="width:45%">标题</td>	
								
								<td style="width:50px">操作</td>
								
							</tr>
						</thead>
						<load href"__PUBLIC__/js/list_show.js">
						<tbody id="tab">
							<volist name='list' id='vo' >
								<tr id="table_path_show" height="40px">
									<td style="display:none;">{$vo.id}</td>	<!--ID-->
									
									<td style="width:45%"><a href="__URL__/workdetail/id/{$vo.classid}/p/{$vo.id}" target="_blank">{$vo.pname}</a></td><!--标题-->								
									
									<td style="width:180px;">
										<a href="#" name='edit_path'  onClick="pathedit('{$vo.id}')" class="blue">编辑</a>
										<a href="#"  name='delete_path' onClick="pathdelete('{$vo.id}','{$vo.classid}','{$vo.pname}')"  class="red">删除</a>
										<a href="#" name='download'   onClick="filedownload('{$vo.id}','{$vo.classid}','{$vo.pname}')"  class="blue">下载</a>
										<!--<input name="delete_path" type="reset" onClick="pathdelete({$vo.id},{$vo.courseid})" value="删除">-->
									
									</td>
								</tr>
							</volist>
						</tbody>		
					</table><div class="green-black" align="right" style="width:86%; padding-top:20px;">{$page}</div>
				</div>
</body>
</html>